package com.xuelang.pipeline.artifact.app.nexus3v1.xo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DockerHostedStorageAttributes {
    /**
     * Blob store used to store repository contents
     */
    private String blobStoreName;
    /**
     * Whether to allow redeploying the 'latest' tag but defer to the Deployment Policy for all
     * other tags
     */
    private Boolean latestPolicy;
    /**
     * Whether to validate uploaded content's MIME type appropriate for the repository format
     */
    private boolean strictContentTypeValidation;
    /**
     * Controls if deployments of and updates to assets are allowed
     */
    private String writePolicy;
}